home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / dragonforce.swf / scripts / DefineButton2_428 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2006-06-13  |  431 b   |  16 lines

  1. on(release){
  2.    _root.totalscore = _root.currentscore - 100;
  3.    if(_root.totalscore < 0)
  4.    {
  5.       _root.totalscore = 0;
  6.    }
  7.    _root.status.score = int(_root.totalscore);
  8.    score = _root.totalscore;
  9.    _root.transition._visible = true;
  10.    _root.transition.gotoAndPlay("close");
  11.    _root.startgame = true;
  12.    _root.pausedisplay._visible = false;
  13.    _root.yesbtn.enabled = false;
  14.    _root.nobtn.enabled = false;
  15. }
  16.